﻿using System.Collections;

public class TableTextBlo
{
    public static string GetText(string id)
    {
        var kt = Dict.DictDataManager.Instance.tableTextDao.GetById(id);
        if(kt != null)
        {
            return kt.text;
        }
        else
        {
            UnityEngine.Debug.LogError(id + " not exist in text table");
            return string.Empty;
        }
    }
}
